package com.eclub.emotion.rootstone.server.context;

import com.eclub.emotion.rootstone.protocol.Protocol;


/**
 */
public class Request {
	
	private Protocol protocol;

	private byte[] requestBuffer;
	
	public Request() {
		
	}
	
	public Request(Protocol protocol, byte[] buf) {
		super();
		this.protocol = protocol;
		this.requestBuffer = buf;
	}
	
	public Protocol getProtocol() {
		return protocol;
	}

	public void setProtocol(Protocol protocol) {
		this.protocol = protocol;
	}

	public void setRequestBuffer(byte[] requestBuffer) {
		this.requestBuffer = requestBuffer;
	}

	public byte[] getRequestBuffer() {
		return requestBuffer;
	}
}